package com.juyu.miliao.common.constant;

/**
 * @author xuanqicheng
 */
public class SingleDynamicCommentAndReplyOver10PeopleConstant {
    public static final long MAX_VALUE = 10;

    private static final String DYNAMIC_COMMENT_AND_REPLY_EXIST_USER_ID_BY_DYNAMIC_ID_REDIS_KEY =
            "DYNAMIC_COMMENT_AND_REPLY_EXIST_USER_ID_BY_DYNAMIC_ID:";

    private static final String DYNAMIC_COMMENT_AND_REPLY_NUM_BY_DYNAMIC_ID_REDIS_KEY =
            "DYNAMIC_COMMENT_AND_REPLY_NUM_BY_DYNAMIC_ID:";

    public static String getDynamicCommentAndReplyExistUserIdByDynamicIdRedisKey(int dynamicId){
        return DYNAMIC_COMMENT_AND_REPLY_EXIST_USER_ID_BY_DYNAMIC_ID_REDIS_KEY+dynamicId;
    }

    public static String getDynamicCommentAndReplyNumByDynamicIdRedisKey(int dynamicId){
        return DYNAMIC_COMMENT_AND_REPLY_NUM_BY_DYNAMIC_ID_REDIS_KEY+dynamicId;
    }
}
